package cn.yll.test;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.awt.*;
/**
 * 数据值对象
 * @author yangll
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PieData {
    //名称
    private String name;

    //颜色
    private Color color;

    //数值
    private double num;

    //偏离比例(3D图无偏离) exg-> 0.1
    private double explodePercent;
}
